﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract.Enums" />
  <xs:complexType name="User">
    <xs:sequence>
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/StockholmsStad.Runtime.Serialization.DataContract.Enums" minOccurs="0" name="Role" type="q1:UserRole" />
      <xs:element minOccurs="0" name="UserId" type="xs:int" />
      <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="ArrayOfTimeBlock">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TimeBlock" nillable="true" type="tns:TimeBlock" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTimeBlock" nillable="true" type="tns:ArrayOfTimeBlock" />
  <xs:complexType name="TimeBlock">
    <xs:sequence>
      <xs:element minOccurs="0" name="StartDateTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="TimeBlockId" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeBlock" nillable="true" type="tns:TimeBlock" />
</xs:schema>